//
//  PywCoupon.h
//  test one
//
//  Created by finn on 15/11/2.
//  Copyright © 2015年 finn. All rights reserved.
//

#import "PywBaseModel.h"

@interface PywCoupon : PywBaseModel


@property (nonatomic, copy)NSString *amount;   // 可用金额

@property (nonatomic, copy)NSString *coupon_tips;         //代金券有效期提示内容

@property (nonatomic, copy)NSString *gamename;            //游戏名字

@property (nonatomic, copy)NSString *code;                //代金券id

@property (nonatomic, copy) NSString *org_amount;          // 面值

@property (nonatomic, copy)NSString *status;            //1未使用;2可使用(包含1),3已用完,4已过期



@property (nonatomic,assign) NSInteger remainAmount;  // 剩余金额
@property (nonatomic,assign) NSInteger chioceAmount;//选择金额


@property (nonatomic,assign) NSInteger orderAmount;//订单金额
// 模型选中状态
@property (nonatomic, assign)BOOL isChoose;

@property (nonatomic, assign)int chooseIndex;
/**
 *  //是否可以选择
 */
@property (nonatomic, assign) BOOL isEnableChoose;


+ (instancetype)couponWithDict:(NSDictionary *)dict type:(NSString *)type;



@end

